package two;

import java.util.Arrays;

public class ArrayReferenceAndElements {
    public static void main(String[] args) {
        int[] arr = {3, 5, 6, 300};
        System.out.println(arr[0]);
        System.out.println(Arrays.toString(arr));
        for(int i = 1; i < arr.length; i++) {
            System.out.println(arr[i]);
        }
    }
}
